Component({
  mixins: [],
  data: {},
  props: {
    goodsList:{
      type: Array,
      value: [],
    }
  },
  didMount() {},
  didUpdate() {},
  didUnmount() {},
  methods: {
    onScroll(e) {
    let scrollHeight = e.detail.scrollHeight - e.detail.scrollTop - e.detail.windowHeight;
    if (scrollHeight === 0) { // 滚动到底部时触发加载更多数据
      console.log('加载中');
      
    }
  },
  },
});
